package com.mutouren.common.entity;

public class SignResultInfo <T> extends Result {
	
	private T info;
	private long timestamp;
	private String sign;
	
	public SignResultInfo() {
		super();
	}
	
	public SignResultInfo(int code, String message) {
		super(code, message);
	}
	
	public T getInfo() {
		return info;
	}

	public void setInfo(T info) {
		this.info = info;
	}

	@Override
	public String toString() {
		return String.format("code:%s,message:%s,info:%s", this.getCode(), this.getMessage(), info);
	}

	public long getTimestamp() {
		return timestamp;
	}
	public void setTimestamp(long timestamp) {
		this.timestamp = timestamp;
	}

	public String getSign() {
		return sign;
	}
	public void setSign(String sign) {
		this.sign = sign;
	}

}
